package com.googlecode.transmutant.spring

import com.googlecode.transmutant.In 
import com.googlecode.transmutant.Out 
import com.googlecode.transmutant.Step;

@Step(name="helloWorldStep")
class HelloWorldStep {
	
	def hello = "Hello"
	def world = "World"
	
	@Out(name="helloWorld")
	def out = ""
	
	@Step(name="sayHello", order=0)
	void sayHello() {
		out += hello
	}
	
	@Step(name="sayWorld", order=1)
	void sayWorld() {
		out += " " + world
	}
	
	@Step(name="withEmphasis", order=2)
	void withEmphasis() {
		out += "!"
	}

}
